package com.sumainfor.wx.tenant.controller.dev;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.service.TctenSysmsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * <p>
 * 系统消息
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-05-16 19:50
 **/
@Controller
@RequestMapping("/key/tctenSysmsg")
public class TctenSysmsgController {
    @Autowired
    TctenSysmsgService tctenSysmsgService;

    @ResponseBody
    @PostMapping("/insertSysmsg")
    public JsonResult insertSysmsg(@RequestBody Map<String,Object> params){
        return tctenSysmsgService.insertSysmsg(params);
    }
}
